package com.deli.entity;


import java.util.List;

public class ResultList<T>  {

    private boolean isSuccess = true;

    private String errorCode;

    private String errorDescription;

    private List<T> dataList;

    private Integer totalPageCount;

    private Integer totaldataCount;

    public Integer getTotaldataCount() {
        return totaldataCount;
    }

    public void setTotaldataCount(Integer totaldataCount) {
        this.totaldataCount = totaldataCount;
    }

    public Integer getTotalPageCount() {
        return totalPageCount;
    }

    public void setTotalPageCount(Integer totalPageCount) {
        this.totalPageCount = totalPageCount;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorDescription() {
        return errorDescription;
    }

    public void setErrorDescription(String errorDescription) {
        this.errorDescription = errorDescription;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}